package com.usercar.service.impl;

import com.usercar.pojo.Mileage;
import com.usercar.mapper.MileageMapper;
import com.usercar.service.IMileageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-08-14
 */
@Service
public class MileageServiceImpl extends ServiceImpl<MileageMapper, Mileage> implements IMileageService {

    @Autowired
    private  MileageMapper mileageMapper;
    @Override
    public Mileage selectByMileage(Integer licheng) {
        Mileage m = mileageMapper.selectByMileage(licheng);
        return m;
    }
}
